﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="WebFormModificarAsignacionCentrodeCostoResponsable.aspx.cs" Inherits="Sitio.WebFormModificarAsignacionCentrodeCostoResponsable" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
     <link href ="estilo.css"  rel="Stylesheet" type="text/css" />
    <style type="text/css">
        .style1
        {
            font-weight: bold;
            font-size: x-large;
        }
        .style2
        {
            font-weight: normal;
        }
        .style3
        {
            text-decoration: underline;
            font-size: x-large;
        }
    </style>
</head>
<body>
    <form id="form1" runat="server">
    <div class="style1">
    
        <span class="style3">Modificar Asignacion de Responsable a Centro de Costo<br />
        </span>
        <asp:Label ID="Label1" runat="server" style="font-size: large; color: #CC0000;"></asp:Label>
        <br />
        <asp:Button ID="Button1" runat="server" onclick="Button1_Click" 
            style="font-size: medium" Text="Regresar" />
        <span class="style2">
        <br />
                <asp:GridView ID="grdcENTRODECOSTO" runat="server" AutoGenerateColumns="False" 
                    onrowcommand="ResultGrid_RowCommand" 
                    onselectedindexchanged="grdFamilias_SelectedIndexChanged" 
            Width="16px" BackColor="White" BorderColor="#CCCCCC" BorderStyle="None" 
            BorderWidth="1px" CellPadding="4" EnableModelValidation="True" 
            ForeColor="Black" GridLines="Horizontal" style="font-size: medium">
                    <EmptyDataTemplate>
                        No se encontraron resultados para la busqueda.
                    </EmptyDataTemplate>
                    <Columns>
                        <asp:BoundField DataField="id" HeaderText="Codigo" Visible="false" />
                        
                        <asp:TemplateField HeaderText="DESASIGNAR">
                            <ItemTemplate>
                                <asp:BUTTON ID="DESASIGNAR" runat="server" 
                                    CommandArgument='<%# DataBinder.Eval(Container.DataItem,"LCENTRODECOSTOS_ASIGNACION_TBL_PERSONAL1") %>' 
                                    CommandName="ASIGNAR"  />
                            </ItemTemplate>
                        </asp:TemplateField>
                        <asp:BoundField DataField="LCENTRODECOSTOS_ID1nombre" HeaderText="NOMBRE" />
                         <asp:BoundField DataField="LPERSONAL_ID1nombre" HeaderText="NOMBRE RESPONSABLE" />
                         <asp:BoundField DataField="LPERSONAL_ID1ci" HeaderText="C.I. RESPONSABLE" />
                         <asp:BoundField DataField="IPORCENTAJE_ID1" HeaderText="PORCENTAJE" />
                          <asp:BoundField DataField="DFECHA_DT1" HeaderText="FECHA ASIGNACION" />
                   
                    </Columns>
                    <FooterStyle BackColor="#CCCC99" ForeColor="Black" />
                    <HeaderStyle BackColor="#333333" Font-Bold="True" ForeColor="White" />
                    <PagerStyle BackColor="White" ForeColor="Black" HorizontalAlign="Right" />
                    <SelectedRowStyle BackColor="#CC3333" Font-Bold="True" ForeColor="White" />
                </asp:GridView>
            <br />
        <br />
        <br />
        </span>
        <br />
    
    </div>
    </form>
</body>
</html>
